import {AxiosGet} from './http'

/**
 * 查询前两条banner数据
 * @returns 
 */
export const getListBanner = () => {
  return AxiosGet('/educms/bannerfront/getAllBanner')
}

/**
 * 查询热门课程和名师
 * @returns 
 */
export const getIndexData = () => {
  return AxiosGet('/eduservice/indexfront/index')
}